package controllers;

import me.tisoft.springphpview.viewresolver.LayoutModelView;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 * @author taleh
 */
@Controller
public class testController {
    @RequestMapping("/")
    public String test(String a,LayoutModelView lmv) {
        lmv.setLayout("column1");
        lmv.setViewName("index");
        lmv.addObject("asdsad", "aaaa");
        return "index";
    }
}
